<?php
/**
 * Created by PhpStorm.
 * User: QK
 * Date: 2018-07-25
 * Time: 上午 9:54
 */
namespace app\backstage\controller;
use app\backstage\model\MessageModel;
use cmf\controller\AdminBaseController;

class MessageController extends AdminBaseController{
    /**
     * 消息页面
     */
    public function index(){
//        $param = $this->request->param();
        //显示评论信息
        $m = new MessageModel();
        $rest = $m->getmsg();
//        $data->appends($param);
        $this->assign('rest',$rest);
        $this->assign('page', $rest->render());
        return $this->fetch();
    }
    /**
     *
     */
}